<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $this->Html->charset(); ?>
	<title><?php __('Jakarta Payroll - Edisi Pabrik'); ?> <?php echo $title_for_layout; ?></title>
	<?php
	echo $this->Html->meta('icon');

	echo $this->Html->css('cake.generic');
	echo $this->Html->css('dropdownmenu/dropdown');
	echo $this->Html->css('dropdownmenu/default');
      echo $this->Html->css('themes/base/jquery.ui.all');

	echo $this->Javascript->link('jquery-1.4.4.min');
      echo $this->Javascript->link("ui/jquery-ui-1.8.17.custom");
      echo $this->Javascript->link('app');

	echo $scripts_for_layout;
	?>
</head>
<body>
	<div id="container">
		<div id="header">
			<h1><?php echo $this->Html->link(__('Jakarta Payroll', true), 'http://jakarta-payroll.com'); ?></h1>
		</div>

		<?php //if (!is_null($this->Session->read("Auth.User"))) { ?>
		<div id="menunav">
		  <ul id="nav" class="dropdown dropdown-horizontal">
			<li><a href="./">&larr;</a></li>

			<li class="dir">Absensi
			  <ul>
                       <!-- JAM KERJA-->
                       <li class="dir">
                          Jam Kerja
                          <ul>
                             <li><?php echo $this->Html->link(__("Pembuatan Jam Kerja", true), array('controller' => 'absensi', 'action' => 'jamKerjaPembuatanPage')); ?></li>
                             <li><?php echo $this->Html->link(__("List Data Jam Kerja", true), array('controller' => 'absensi', 'action' => 'jamKerjaPembuatanPage')); ?></li>
                          </ul>
                       </li>
                       
                       <!-- JADWAL KERJA-->
                       <li class="dir">
                          Jadwal Kerja
                          <ul>
                             <li><?php echo $this->Html->link(__("Pembuatan Jadwal Kerja", true), array('controller' => 'absensi', 'action' => 'jadwalKerjaPembuatanPage')); ?></li>
                             <li><?php echo $this->Html->link(__("List Data Jadwal Kerja", true), array('controller' => 'absensi', 'action' => 'jadwalKerjaPembuatanPage')); ?></li>
                          </ul>
                       </li>
                       
                       
                       <!-- PENJADWALAN KARYAWAN -->
                       <li class="dir">
                          Penjadwalan Karyawan
                          <ul>
                             <li><?php echo $this->Html->link(__("Pembuatan Penjadwalan", true), array('controller' => 'absensi','action' => 'karyawanJadwalKerjaPembuatanPage')); ?></li>
                             <li><?php echo $this->Html->link(__("List Data Penjadwalan", true), array('controller' => 'absensi', 'action' => 'indexKaryawanJadwalKerja')); ?></li>
                          </ul>
                       </li>
                          
                          
				  <li><?php echo $this->Html->link(__("Laporan Absensi Akumulatif", true), array('controller' => 'absensi_report','action' => 'reportCummulativePage')); ?></li>
				  <li><?php echo $this->Html->link(__("Laporan Absensi Harian", true), array('controller' => 'absensi_report','action' => 'reportDailyPage')); ?></li>
			  </ul>
			</li>

			<li><?php echo $this->Html->link(__('Pembuatan Ijin dan Cuti', true), array('action' => 'index')); ?></li>
			
                        <li class="dir">Payroll
                            <ul>
                                <li><?php echo $this->Html->link(__('Pembuatan Pendapatan', true), array('controller' => 'payroll', 'action' => 'pendapatanPembuatanPage')); ?></li>
<!--                                <li><?php echo $this->Html->link(__('Data Pendapatan', true), array('controller' => 'payroll', 'action' => 'pendapatanListDataPage')); ?></li>-->
                                <li><?php echo $this->Html->link(__('Data Pendapatan & Potongan', true), array('controller' => 'payroll', 'action' => 'pendapatanDanPotonganListDataPage')); ?></li>
                                <li><?php echo $this->Html->link(__('Pembuatan Potongan', true), array('controller' => 'payroll', 'action' => 'potonganPembuatanPage')); ?></li>
                                <li><?php echo $this->Html->link(__('Data Potongan', true), array('controller' => 'payroll', 'action' => 'potonganListDataPage')); ?></li>
                                <li><?php echo $this->Html->link(__('Pembuatan Gaji', true), array('controller' => 'payroll', 'action' => 'gajiPembuatanPage')); ?></li>
                                <li><?php echo $this->Html->link(__('Data Gaji', true), array('controller' => 'payroll', 'action' => 'gajiListDataPage')); ?></li>
                            </ul>
                        </li>
		  </ul>
		<?php //} ?>
		</div>

		<div id="content">
		  <?php echo $this->Session->flash(); ?>
		  <?php echo $this->Session->flash('auth'); ?>

		  <?php echo $content_for_layout; ?>
		</div>

		<div id="footer" style="font-size:0.8em;">
			<?php echo __('Jakarta Payroll',true); ?>
		</div>

	</div>
	<?php echo $this->element('sql_dump'); ?>
</body>
</html>